package rmi;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * Created by duan lian on 2018-01-29.
 */
public interface HelloTakeSetArg extends Remote {
	JSONObject hello(JSONArray names) throws RemoteException;

	HashMap<String, Integer> hello(HashSet<String> names) throws RemoteException;

	Map<String, Integer> hello(Set<String> names) throws RemoteException;
}
